﻿package AntShares.SmartContract.Framework.Services.AntShares;

import AntShares.SmartContract.Framework.Syscall;
    public class Storage
    {
    	@Syscall("AntShares.Storage.GetContext")
        public static StorageContext getCurrentContext()
        {
           return null;
        }

        @Syscall("AntShares.Storage.Get")
        public native static byte[] Get(StorageContext context, byte[] key);

        @Syscall("AntShares.Storage.Get")
        public native static byte[] Get(StorageContext context, String key);

        @Syscall("AntShares.Storage.Put")
        public static void Put(StorageContext context, byte[] key, byte[] value)
        {
        	
        }

        @Syscall("AntShares.Storage.Put")
        public static void Put(StorageContext context, byte[] key, String value)
        {
        	
        }

        @Syscall("AntShares.Storage.Put")
        public static void Put(StorageContext context, String key, byte[] value)
        {
        	
        }

        @Syscall("AntShares.Storage.Put")
        public static void Put(StorageContext context, String key, String value)
        {
        	
        }

        @Syscall("AntShares.Storage.Delete")
        public static void Delete(StorageContext context, byte[] key)
        {
        	
        }

        @Syscall("AntShares.Storage.Delete")
        public static void Delete(StorageContext context, String key)
        {
        	
        }
    }

